//package org.xukai.remoting.ws;
//
//
//import org.apache.cxf.interceptor.LoggingInInterceptor;
//import org.apache.cxf.interceptor.LoggingOutInterceptor;
//import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
//import org.xukai.remoting.ws.guahao.Service;
//import org.xukai.remoting.ws.guahao.serviceImpl;
//
//import javax.xml.ws.Endpoint;
//
///**
// * @author xukai
// * @desc
// * @date 2016-09-27-下午 6:19
// */
//public class cxfServerTest {
//
//    public static void main(String[] args) {
//        Endpoint.publish("http://127.0.0.1:8089/ms",new serviceImpl());
////        JaxWsServerFactoryBean fac = new JaxWsServerFactoryBean();
////        fac.setAddress("http://127.0.0.1:8089/ws");
////        fac.setServiceBean(new serviceImpl());
////        fac.setServiceClass(Service.class);
////        fac.getInInterceptors().add(new LoggingInInterceptor());
////        fac.getOutInterceptors().add(new LoggingOutInterceptor());
////        fac.create();
//    }
//}
